New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sb1/ffe-collapse-react

Package Overview
Dependencies
Maintainers
4
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sb1/ffe-collapse-react

React component for expand/collapse

  • 5.1.5
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1.4K
decreased by-11.99%
Maintainers
4
Weekly downloads
 
Created
Source

@sb1/ffe-collapse-react

React component for expand/collapse

Install

npm install --save @sb1/ffe-collapse-react

Usage

Full documentation on collapse usage is available at https://design.sparebank1.no/komponenter/collapse/.

Please note the component depends on transition styling for height.
This can preferably be done by importing the less-file from the less-folder in the package.
Alternatively you can do it by adding style to the class .ffe-collapse-transition, adding it to your own class and provide the class through the className property or by styling it directly through the style property.

Importing compiled CSS

If your project does not use Less, you can import the compiled styling:

@import '~@sb1/ffe-collapse-react/css/collapse.css';

Development

To start a local development server, run the following from the designsystem root folder:

npm install
npm run build
npm start

A local instance of component-overview with live reloading will run at http://localhost:1234/.

Example implementations using the latest versions of all components are also available at https://sparebank1.github.io/designsystem.

Keywords

FAQs

Package last updated on 07 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc